package com.eastcom.providor.dao;

import java.util.Collection;
import java.util.List;
import java.util.Map;

import com.eastcom.bm.atom.Atom_MetalKpiBase;

public interface IMetalKpiBaseDao {

	public void saveMetalKpiBase(List<Atom_MetalKpiBase> metalKpiBases)throws Exception;
	
	public void editMetalKpiBase(Atom_MetalKpiBase metalKpiBase)throws Exception;
	
	public void editMetalKpiBase(List<Atom_MetalKpiBase> metalKpiBases)throws Exception;
	
	public Map<Object,Map> getKpiNameById(Collection<String> ids)throws Exception;
	
	public Atom_MetalKpiBase findMetalKpiBaseById(String kpiId,boolean initialExpand)throws Exception;
	
	public List<Atom_MetalKpiBase> selectAllKpiBase() throws Exception;
	
	public List<Atom_MetalKpiBase> selectMetalKpiBaseByBusinessKpiType(String businessType,String kpiType,String name,boolean initialExpand)throws Exception;
	
	public List<Atom_MetalKpiBase> selectMetalKpiBaseByIds(List<String> kpiIds,boolean initialExpand)throws Exception ;

	public void deleteMetalKpiBases(List<Atom_MetalKpiBase> metalKpiBases)throws Exception;
}
